<template>
  <router-view />
</template>

<style lang="scss">
html,
body,
#app,
.layout-module {
  height: 100%;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  color: $text-color;
}
body {
  margin: 0px;
}
.white-module {
  border-radius: 12px;
  background-color: #fff;
  padding-bottom: 24px;
}
.scholl-tabs {
  position: relative;
  .el-tabs__nav-scroll {
    padding-left: 24px;
  }
  .el-tabs__nav-wrap::after {
    height: 1px;
  }
  .el-tabs__item {
    height: 54px;
    font-size: 16px;
    color: #4f5a70;
    line-height: 54px;
  }
  .tabs-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 14px;
    z-index: 3;
  }
}
.global-table {
  .el-table {
    th.el-table__cell {
      background: #f5f7fa !important;
      color: #333 !important;
    }
    .cell {
      line-height: 36px !important;
      color: #4f5a70;
      font-size: 14px;
    }
    .el-button--small {
      font-size: 14px;
    }
  }
  .el-scrollbar {
    --el-scrollbar-opacity: 1;
    --el-scrollbar-bg-color: #a4abb9;
    border-radius: 4px;
  }
  .el-scrollbar__bar.is-vertical {
    width: 8px;
    background: none; /*可以设置轨道颜色*/
  }

  .el-scrollbar::-webkit-scrollbar-thumb {
    background-color: red !important;
    border-radius: 3px !important;
  }
}
.search-module {
  font-size: 16px;
  .el-input,
  .el-select {
    width: 276px;
    .el-input__inner {
      width: 100%;
      height: 38px;
      line-height: 38px;
    }
  }
}
.global-ruleForm {
  .el-form-item__label {
    color: $text-color;
  }
  .el-input,
  .el-select {
    width: 320px;
    .el-input {
      width: 100%;
    }
    .el-input__inner {
      height: 38px;
      width: 100%;
      line-height: 38px;
    }
  }
  .min-select {
    width: 248px;
    .el-input {
      width: 100%;
    }
  }
  .btns {
    margin-bottom: 0px;
    .el-form-item__content {
      justify-content: center;
      margin-top: 12px;
      .el-button {
        width: 88px;
        margin: 0px 9px;
        height: 38px;
      }
    }
  }
}
.global-pagination {
  display: flex;
  align-items: center;
  margin-top: 22px;
  padding: 0px 24px;
  .total {
    color: #959ca9;
    font-size: 14px;
    text-align: left;
  }
  .el-pagination {
    display: flex;
    justify-content: flex-end;
  }
}
.global-scroll {
  margin-right: 8px;
  /*设置宽度,轨道颜色*/
  &::-webkit-scrollbar {
    width: 8px;
    background: none; /*可以设置轨道颜色*/
  }

  /*滚动条*/
  &::-webkit-scrollbar-thumb {
    background: #a4abb9;
    border-radius: 4px;
    height: 8px;
  }
}
</style>

